Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Fix regex typo for Minimum TypeScript Version #266

Merged
merged 1 commit into from
Jan 6, 2020
Merged

Fix regex typo for Minimum TypeScript Version #266

merged 1 commit into from
Jan 6, 2020

Conversation

andrewbranch
Copy link
Member

Sorry @sandersn 🙈

Fixes a mistake in #265

I couldn’t figure out how to test this with the existing test setup. I guess if it doesn’t get recognized as a TS Version line, it just gets treated as a normal comment and doesn’t error, so you can’t really test it as a lint rule itself.

@andrewbranch andrewbranch requested a review from sandersn January 6, 2020 22:16
Copy link
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ugggg. This seems like a bad limitation of testability of the parser.

@sandersn sandersn merged commit 3b022b7 into master Jan 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants